/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package view;

import model.DB2Hash;

/**
 *
 * @author aeguzkiza
 */
public class Server {
    Integer id;
    DB2Hash server;


    public Server(DB2Hash server){
        this.id = Integer.parseInt(server.get("Id"));
        this.server = server;
    }

    public DB2Hash getServer(){
        return server;
    }
    public Integer getServerId(){
        return id;
    }
    public String toString() {
        String node = server.get("ServerName");
        return node;
    }
}
